package com.androway.domains;

import java.util.HashSet;
import java.util.Set;

import com.google.gson.annotations.Expose;

public class Category extends AbstractPersistentObject
{
	@Expose
	private String		name;
	@Expose
	private String		description;
	@Expose
	private int			nbInvisibleNews;
	private Set<News>	newsList	= new HashSet<News>();
	private School		school;

	public String getName()
	{
		return this.name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public String getDescription()
	{
		return this.description;
	}

	public void setDescription(String description)
	{
		this.description = description;
	}

	public Set<News> getNewsList()
	{
		return this.newsList;
	}

	public void setNewsList(Set<News> newsList)
	{
		this.newsList = newsList;
	}

	public School getSchool()
	{
		return this.school;
	}

	public void setSchool(School school)
	{
		this.school = school;
	}

	public int getNbInvisibleNews()
	{
		return this.nbInvisibleNews;
	}

	public void setNbInvisibleNews(int nbInvisibleNews)
	{
		this.nbInvisibleNews = nbInvisibleNews;
	}
}
